//
//  QTProductInfoViewController.m
//  qdqts
//
//  Created by jonn on 14-6-10.
//  Copyright (c) 2014年 seas.cheng. All rights reserved.
//

#import "QTButtonViewController.h"

@interface QTButtonViewController ()

@end

@implementation QTButtonViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    _btn_1.layer.masksToBounds=YES;
    _btn_1.layer.cornerRadius = 5.0;
    _btn_1.layer.borderWidth = 1;
    _btn_1.layer.borderColor=[GREENCOLOR CGColor];
    
    _btn_2.layer.masksToBounds=YES;
    _btn_2.layer.cornerRadius = 5.0;
    _btn_2.layer.borderWidth = 1;
    _btn_2.layer.borderColor=[GREENCOLOR CGColor];
    
    _btn_3.layer.masksToBounds=YES;
    _btn_3.layer.cornerRadius = 5.0;
    _btn_3.layer.borderWidth = 1;
    _btn_3.layer.borderColor=[GREENCOLOR CGColor];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)btn_1_on:(id)sender {
    NSLog(@"1111111");
    [self.tablViewButtonDelegate clickButton:_id_1 name:_name_1.text];
}

- (IBAction)btn_2_on:(id)sender {
    NSLog(@"2222222");
    [self.tablViewButtonDelegate clickButton:_id_2 name:_name_2.text];
}

- (IBAction)btn_3_on:(id)sender {
    NSLog(@"3333333");
    [self.tablViewButtonDelegate clickButton:_id_3 name:_name_3.text];
}

@end
